﻿namespace JinYuan.Models
{
    public class PLCConfig
    {
        /// <summary>
        /// PLC编号
        /// </summary>

        public int PlcNum { get; set; }
        /// <summary>
        /// PLC类型
        /// </summary>
        public string PLCType { get; set; }
        /// <summary>
        /// IP地址
        /// </summary>
        public string IPAddress { get; set; }
        /// <summary>
        /// 端口号
        /// </summary>
        public string Port { get; set; }
        /// <summary>
        /// 心跳地址
        /// </summary>

        public string HeartBeat { get; set; }
        /// <summary>
        /// 是否启用心跳
        /// </summary>

        public bool IsHeartBeat { get; set; }
        /// <summary>
        ///PLC是否激活
        /// </summary>

        public bool IsActive { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

    }
}
